-- GENERATED SPELL FOR [Captain Saeed] --


function spell0_20985(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15496,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20985', 589, 1)
end

function Sorts_20985(pUnit, Event)
local choix_sorts_20985 = math.random(0, 0)
if choix_sorts_20985 == 0 then
pUnit:RegisterEvent('spell0_20985', 1, 1)
end
end

function mob20985_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20985', math.random(1500, 3000), 1)
end

function mob20985_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20985_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20985_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20985, 1, 'mob20985_Action')
RegisterUnitEvent(20985, 2, 'mob20985_Leave')
RegisterUnitEvent(20985, 3, 'mob20985_Kill')
RegisterUnitEvent(20985, 4, 'mob20985_Die')
